package lu.med.praxiswahl.wahlumed.client.oprechnungen;

import javax.swing.table.AbstractTableModel;

/**
 * 
 * @author Lars Holger Roth
 */
public class OPRechnungenTableModel extends AbstractTableModel
{
    public int getColumnCount()
    {
	return 7;
    }

    @Override
    public String getColumnName(int columnIndex)
    {
	switch (columnIndex)
	{
	case 0:
	    return "H";
	case 1:
	    return "MED";
	case 2:
	    return "DATE(DU-AU)/DENT/HEURE";
	case 3:
	    return "CODE TARIF/LIBELLE/OBJET";
	case 4:
	    return "NBR";
	case 5:
	    return "MONTANT";
	case 6:
	    return "MED.PRES.";
	}
	return "";
    }

    public int getRowCount()
    {
	return 10;
    }

    public Object getValueAt(int row, int column)
    {
	return "";
    }

    @Override
    public boolean isCellEditable(int rowIndex, int columnIndex)
    {
	return true;
    }
}
